import React, { Component } from "react";

export default class Rcc extends Component {
  state = {};
  render() {
    return (
      <div>
        <button onClick={() => this.props.click(1)}>给父组件传递数据</button>
      </div>
    );
  }
  // setData() {}
}
